// 提示框
export const setTip = ({commit}, tip) => {
  if (!tip.time) tip.time = 1800
  commit('SET_TIP', tip)
}
// loading
export const setLoading = ({commit}, loading) => {
  commit('SET_LOADING', loading)
}
export const setShowGonggao = ({commit}, showGonggao) => {
  commit('SET_SHOW_GONGGAO', showGonggao)
}
export const setShowJinbi = ({commit}, showJinbi) => {
  commit('SET_SHOW_JINBI', showJinbi)
}
export const setShowGuize = ({commit}, showGuize) => {
  commit('SET_SHOW_GUIZE', showGuize)
}
export const setLoginStatus = ({commit}, loginStatus) => {
  commit('SET_LOGINSTATUS', loginStatus)
}
export const setGameId = ({commit}, gameId) => {
  commit('SET_GAMEID', gameId)
}
export const setTeamName = ({commit}, teamName) => {
  commit('SET_TEAMNAME', teamName)
}
